#ifndef GRAPHICTEXTITEM_H
#define GRAPHICTEXTITEM_H

#include <QGraphicsTextItem>
//#include <>

class GraphicsTextItem : public QGraphicsTextItem
{
	Q_OBJECT

public:
	GraphicsTextItem(QGraphicsItem *parent = 0);
	~GraphicsTextItem();

private:
	
	// override;
protected:
	void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);

	// drag & drop;
	void mousePressEvent(QGraphicsSceneMouseEvent *event);
	void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
	QPointF startPos;

	void focusOutEvent(QFocusEvent *event);
private:

};

#endif // GRAPHICTEXTITEM_H
